package com.k8.registry.config;

import com.k8.rpc.url.URL;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Accessors(chain = true)
public abstract class AbstractReferenceConfig<T> extends AbstractConfig {
    @Getter
    @Setter
    protected Class<T> type;
    @Getter
    @Setter
    protected String version;
    @Getter
    @Setter
    protected String group;
    @Getter
    @Setter
    protected String protocol;

    public AbstractReferenceConfig(URL systemConfigUrl, List<URL> registryConfigs) {
        super(systemConfigUrl, registryConfigs);
    }

}
